import{r as a,S as o,o as c,W as s}from"./index-Cru3zDJN.js";function d(){const l=a([]),e=a(!0),r=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],i=o({pageSize:20,currentPage:1,pageSizes:[20,40,60],total:0,align:"right",background:!0,small:!1}),n=o({text:"正在加载第一页...",viewBox:"-10, -10, 50, 50",spinner:`
        <path class="path" d="
          M 30 15
          L 28 17
          M 25.61 25.61
          A 15 15, 0, 0, 1, 15 30
          A 15 15, 0, 1, 1, 27.99 7.5
          L 15 15
        " style="stroke-width: 4px; fill: rgba(0, 0, 0, 0)"/>
      `}),u={offsetBottom:110};function g(t){console.log("onSizeChange",t)}function p(t){n.text=`正在加载第${t}页...`,e.value=!0,s(600).then(()=>{e.value=!1})}return c(()=>{s(600).then(()=>{e.value=!1})}),{loading:e,columns:r,dataList:l,pagination:i,loadingConfig:n,adaptiveConfig:u,onSizeChange:g,onCurrentChange:p}}export{d as useColumns};
